[INFO] fetching crate zkp-logging-allocator 0.2.0...
[INFO] checking zkp-logging-allocator-0.2.0 against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] extracting crate zkp-logging-allocator 0.2.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate zkp-logging-allocator 0.2.0 on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate zkp-logging-allocator 0.2.0
[INFO] finished tweaking crates.io crate zkp-logging-allocator 0.2.0
[INFO] tweaked toml for crates.io crate zkp-logging-allocator 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6915001db2b0b1ba0e5d1019613feea540185d7cbbb8aa91412859195bbb6d9
[INFO] running `Command { std: "docker" "start" "-a" "a6915001db2b0b1ba0e5d1019613feea540185d7cbbb8aa91412859195bbb6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6915001db2b0b1ba0e5d1019613feea540185d7cbbb8aa91412859195bbb6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6915001db2b0b1ba0e5d1019613feea540185d7cbbb8aa91412859195bbb6d9", kill_on_drop: false }`
[INFO] [stdout] a6915001db2b0b1ba0e5d1019613feea540185d7cbbb8aa91412859195bbb6d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed6c74db60bf79593856b3fdb14da6eb3f8b64b4627d29c2a631ed65880b6752
[INFO] running `Command { std: "docker" "start" "-a" "ed6c74db60bf79593856b3fdb14da6eb3f8b64b4627d29c2a631ed65880b6752", kill_on_drop: false }`
[INFO] [stderr]     Checking zkp-logging-allocator v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0453]: warn(unsafe_code) incompatible with previous forbid
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | #![forbid(unsafe_code)]
[INFO] [stdout]    |           ----------- `forbid` level set here
[INFO] [stdout] ...
[INFO] [stdout] 35 |     unsafe_code,
[INFO] [stdout]    |     ^^^^^^^^^^^ overruled by previous forbid
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0453]: warn(unsafe_code) incompatible with previous forbid
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | #![forbid(unsafe_code)]
[INFO] [stdout]    |           ----------- `forbid` level set here
[INFO] [stdout] ...
[INFO] [stdout] 35 |     unsafe_code,
[INFO] [stdout]    |     ^^^^^^^^^^^ overruled by previous forbid
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0453]: allow(unsafe_code) incompatible with previous forbid
[INFO] [stdout]   --> src/logging_allocator.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[allow(unsafe_code)]
[INFO] [stdout]    |         ^^^^^^^^^^^ overruled by previous forbid
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:6:11
[INFO] [stdout]    |
[INFO] [stdout] 6  | #![forbid(unsafe_code)]
[INFO] [stdout]    |           ----------- `forbid` level set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of an `unsafe` trait
[INFO] [stdout]    --> src/logging_allocator.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout] 74  | / unsafe impl GlobalAlloc for LoggingAllocator {
[INFO] [stdout] 75  | |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout] 76  | |         if layout.size() < self.info {
[INFO] [stdout] 77  | |             // Do nothing for small allocations
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |     }
[INFO] [stdout] 124 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:6:11
[INFO] [stdout]     |
[INFO] [stdout] 6   | #![forbid(unsafe_code)]
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0453]: allow(unsafe_code) incompatible with previous forbid
[INFO] [stdout]   --> src/logging_allocator.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[allow(unsafe_code)]
[INFO] [stdout]    |         ^^^^^^^^^^^ overruled by previous forbid
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:6:11
[INFO] [stdout]    |
[INFO] [stdout] 6  | #![forbid(unsafe_code)]
[INFO] [stdout]    |           ----------- `forbid` level set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of an `unsafe` method
[INFO] [stdout]    --> src/logging_allocator.rs:75:5
[INFO] [stdout]     |
[INFO] [stdout] 75  | /     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout] 76  | |         if layout.size() < self.info {
[INFO] [stdout] 77  | |             // Do nothing for small allocations
[INFO] [stdout] 78  | |             // Note that the log messages themselves also make small
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |         result
[INFO] [stdout] 118 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of an `unsafe` method
[INFO] [stdout]    --> src/logging_allocator.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | /     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout] 121 | |         System.dealloc(ptr, layout);
[INFO] [stdout] 122 | |         let _ = self.allocated.fetch_sub(layout.size(), Relaxed);
[INFO] [stdout] 123 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of an `unsafe` trait
[INFO] [stdout]    --> src/logging_allocator.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout] 74  | / unsafe impl GlobalAlloc for LoggingAllocator {
[INFO] [stdout] 75  | |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout] 76  | |         if layout.size() < self.info {
[INFO] [stdout] 77  | |             // Do nothing for small allocations
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |     }
[INFO] [stdout] 124 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:6:11
[INFO] [stdout]     |
[INFO] [stdout] 6   | #![forbid(unsafe_code)]
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of an `unsafe` method
[INFO] [stdout]    --> src/logging_allocator.rs:75:5
[INFO] [stdout]     |
[INFO] [stdout] 75  | /     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout] 76  | |         if layout.size() < self.info {
[INFO] [stdout] 77  | |             // Do nothing for small allocations
[INFO] [stdout] 78  | |             // Note that the log messages themselves also make small
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |         result
[INFO] [stdout] 118 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of an `unsafe` method
[INFO] [stdout]    --> src/logging_allocator.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | /     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout] 121 | |         System.dealloc(ptr, layout);
[INFO] [stdout] 122 | |         let _ = self.allocated.fetch_sub(layout.size(), Relaxed);
[INFO] [stdout] 123 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0453`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0453`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zkp-logging-allocator` due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `zkp-logging-allocator` due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "ed6c74db60bf79593856b3fdb14da6eb3f8b64b4627d29c2a631ed65880b6752", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed6c74db60bf79593856b3fdb14da6eb3f8b64b4627d29c2a631ed65880b6752", kill_on_drop: false }`
[INFO] [stdout] ed6c74db60bf79593856b3fdb14da6eb3f8b64b4627d29c2a631ed65880b6752
